<%@ page contentType="text/html; charset=UTF-8" %><%@taglib prefix="s" uri="/struts-tags" %>
<tbody>
      <tr>
      <%int i=0; %>
      <s:if test="collectList!=null">
      <s:iterator id="cl" value="%{collectList}">
      <%i++; %>
      <td>
			<s:if test="#cl.restaurant.isBusiness==1">
		      	<div class="restaurant-block lite" id="restaurant-<s:property value="#l.restaurant.id"/>" rel="<s:property value="#l.restaurant.id"/>">
		   	</s:if>
		    <s:else>
		    	<div class="restaurant-block closed" id="restaurant-<s:property value="#l.restaurant.id"/>" rel="<s:property value="#l.restaurant.id"/>">
		    </s:else>
            <div class="favor-book" > 
                <span class="favor-icon"></span>
                <a href="#" class="hover-un-favor  hidden entry-un-favor" rel="<s:property value="#cl.restaurant.id"/>">取消收藏</a>
            </div>
            <div class="line-one">
              <div class="logo-wrapper">
                <div class="logo"> 
                    <a href="#" target="_blank">
                    	<img class="restaurant-logo " alt="" src="http://fuss10.elemecdn.com/0/50/3a6d5854b2284356e46cd4733c6a5jpeg.jpeg" />
                    </a> 
                    <div   class="phone-logo" ></div>
                </div>
                <div class="deliver-time-wrapper busy" title="平均送餐时间:<s:property value="#cl.restaurant.deliverTime"/>分钟"><s:property value="#cl.restaurant.deliverTime"/>分钟</div>
              </div>
              <div class="info">
                <div class="name"> 
                	<a class="restaurant-link" href="#" target="_blank"><s:property value="#cl.restaurant.resName"/></a> 
                </div>
                <!--  饭店显示 样式  start -->
                <div class="flavors ">
                <s:property value="#cl.restaurant.resTaste"/>
                </div>
                <div class="ratings ">
                    <div class="r<s:property value="#cl.restaurant.score"/> rating-star" title="餐厅评价：<s:property value="#cl.restaurant.score"/>分"></div>
                </div>
                <!--  饭店显示 样式  end -->
                <!--  饭店休息中的样式 start-->
                <s:if test="#cl.restaurant.isBusiness==0">
                <div class="status-label closed ">
                    <span>休息中</span>
                </div>
                </s:if>
                <s:if test="#cl.restaurant.isBusiness==1">
                <div class="status-label closed ">
                    <span>营业中</span>
                </div>
                </s:if>
                <s:if test="#cl.restaurant.isBusiness==-1">
                <div class="status-desc closed ">
                      <span title="餐厅已休假，暂不提供外卖服务">餐厅已休假</span>
                </div>
                </s:if>
                <!-- 两项中任选一个显示  end -->
                <!--  收藏中的样式  end  -->
              </div>
            </div>
          </div></td>
      </s:iterator>
      </s:if>
      <%
      	if(i<5){ 
      		for(int j=0;j<5-i;j++){
      			%>
      			<td><div class="restaurant-block closed">
		            <div class="add-favor"></div>
		        </div></td>
      			<%
      		}
      	}
      %>
      </tr>
    </tbody>
